﻿using Mimas.Framework.Server.AdminManagement;
using Mimas.Framework.Shared.Data.CriteriaObjects;
using Mimas.Framework.Shared.Data.DataTransferObjects;

namespace Mimas.Framework.Shared.Services.AdminManagementServices
{
    public class FileManager : IFileManager
    {

        public FileArchiveDTO[] GetFiles(FileArchiveCO criteria)
        {
            return FileManagementBL.GetFiles(criteria);
        }

        public FileArchiveDTO[] SaveFiles(FileArchiveDTO[] data)
        {
            return FileManagementBL.SaveFiles(data);
        }
    }
}
